/******************************************************************************
	File Name:
		defs.h
	Description:
		This file defines some simple constants.
	History:
		PROGRAMMER		Date			Description			
		Hongqi,Wang		06/02/2009		Original

	Note:
	
******************************************************************************/

/*----------------------------------------------------------------------------
 *      Boolean type definitions
 *----------------------------------------------------------------------------*/
 
typedef short IBool

#ifdef False
#undef False
#endif

#ifdef True
#undef True
#endif

#ifdef NULL
#undef NULL
#endif

#define False   (0)
#define True    (1)
#define NULL    (0)

#ifdef Error
#undef Error
#endif

#ifdef Aok
#undef Aok
#endif

enum IStatus
	{
	Error		= -1,
	Aok			= 0
	};

/*----------------------------------------------------------------------------
 *      Basic numeral type definitions
 *----------------------------------------------------------------------------*/
typedef	unsigned int			UInt;
typedef	int						Int;
typedef	unsigned char			UChar;
typedef unsigned short			UShort;

typedef int                     Int32;
typedef short                   Int16;
typedef char                    Int8;
typedef unsigned int            UInt32;
typedef unsigned short          UInt16;
typedef unsigned char           UInt8;
